#media{
  position: fixed;
  width: 375px;
  z-index: 11;
  top:0;
  left:0;
  background: rgba(0,0,0,0.4);
}
#box{
  position: absolute;
  bottom: 0;
  width: 375px;
  height:90%;
  background: #FAFAFA;
  border-radius: 20px 20px 0 0;
  color:#000;
  h2{
    position: relative;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-bottom: 1px solid #666;
    .close{
      position: absolute;
      top:6px;
      right:15px;
    }
    .memory{
      position: absolute;
      top:0;
      left:10px;
      height:45px;
      line-height: 45px;
      font-size:14px;
      color:#eb7f19;
    }
  }
  #up-load-btn{
    width: 355px;
    margin:10px auto 0 auto;
  }
  #list{
    width: 355px;
    margin: 0 auto;
    padding-top: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    dl{
      position: relative;
      width: 117px;
      height:170px;
      background: #bbbbbb;
      margin:0 2px 2px 0;
      color:#fff;
      &:nth-of-type(3n){
        margin-right: 0;
      }
      dt{
        width: 108.3333px;
        height:150px;
        margin:0 auto;
        background: no-repeat center;
        background-size: contain;
      }
      dd{
        &:nth-of-type(1){
          width: 108.3333px;
          height: 20px;
          line-height: 20px;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          text-indent: 5px;
          font-size:14px;
        }
        &.status{
          position: absolute;
          top:0;
          right:0;
          width: 50px;
          height:20px;
          line-height: 20px;
          background: rgba(0,0,0,0.7);
          color: #fff;
          font-size:14px;
          text-align: center;
        }
        &.selected{
          position: absolute;
          top:0;
          right:0;
          width: 100%;
          height: 100%;
          background: rgba(0,0,0,.5);
          .icon{
            position: absolute;
            top:50%;
            left: 50%;
            transform: translateY(-50%) translateX(-50%);
            width: 30px;
            height: 30px;
          }
        }
        &.player-icon{
          position: absolute;
          bottom:11px;
          left:-3px;
          .icon{
            width: 50px;
            height: 50px;
          }
        }
      }
    }
  }
}
#uploading{
  position: absolute;
  z-index: 10;
  top:0;
  width: 375px;
  height: 100%;
  border-radius: 20px 20px 0 0;
  background: rgba(0,0,0,0.4);
  .content{
    position: absolute;
    top:50%;
    left:50%;
    width: 340px;
    transform: translateX(-50%) translateY(-50%);
    color:#fff;
    text-align: center;
    p{
      position: relative;
      top:-30px;
      text-shadow: #FFF 0 0 1px,#FFF 0 0 1px;
      &.progress{
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 10px;
        border:1px solid #000;
        margin-bottom: 10px;
        border-radius: 5px;
        box-shadow: 1px 2px 5px #FAFAFA;
        span{
          position: absolute;
          left:-100%;
          display: block;
          width: 100%;
          height: 10px;
          border-radius: 5px;
          background-image: linear-gradient(to top, #cd9cf2 0%, #f6f3ff 100%);
          transition: transform .5s ease;
        }
      }
    }
    p:nth-of-type(3){
      margin: 5px 0 5px 0;
    }
    p:nth-of-type(4){
      color: yellow;
      text-shadow: #fff 0 0 1px,#fff 0 0 1px;
    }
  }
  .errors{
    display: block;
    color: yellow;
    margin-bottom: 5px;
  }
}
#temp-video{
  position: fixed;
  z-index: 100;
  top:0;
  left:0;
  width: 20px;
  height: 20px;
  opacity: 0;
}
.animated-media{
  animation-duration: .5s;
}
.watch-anim{
  animation-duration: .2s;
  animation-delay: 0s;
}
